function foo(person){
    person.age=20
    person ={
        name:'ly'
    }
    return person
}
let p1 ={
    name:'zs',
    age:18
}
let p2 =foo(p1)
console.log(p1);
console.log(p2);